#!/usr/bin/python
# -*- coding: utf-8 -*-

import cgi
import hashlib


from google.appengine.ext import webapp
from google.appengine.ext import db
from google.appengine.api import images
from google.appengine.api import mail as mailapi

from google.appengine.runtime import apiproxy_errors

from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app

import logging

class Homepage(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/homepage.html',{}))

class HappinessAndPeace(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/hapandpeace.html',{}))

class GoalAndAshiana(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/goal.html',{}))

class MindWorks(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/mindworks    .html',{}))

class NalanieChellaram(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/nalaniechellaram.html',{}))

class WeeklyMeetingsAndBooksAndTalksAndGita(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/weeklymeetingsandbooksandtalksandgita.html',{}))

class SriSwami(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/sriswami.html',{}))

class WhereToFindUs(webapp.RequestHandler):

    def get(self):
        self.response.out.write(template.render('templates/wheretofindus.html',{}))


def main():
    
    app = webapp.WSGIApplication(
                [
                ('/' , Homepage),
                ('/hapandpeace', HappinessAndPeace),
                ('/goal', GoalAndAshiana),
                ('/mindworks', MindWorks),
                ('/nalaniechellaram', NalanieChellaram),
                ('/sriswami', SriSwami),
                ],
                debug = False)
                    
    run_wsgi_app(app)
                    
if __name__ == "__main__":
    main()


